package com.ruoyi.project.module.yzLogin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 软件用户表 user_yz_login
 * 
 * @author ruoyi
 * @date 2018-11-14
 */
public class YzLogin extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Integer id;
	/** 用户账号 */
	private String username;
	/** 用户密码 */
	private String password;
	/** 用户邮箱 */
	private String useremail;
	/** 用户密保问题 */
	private String userpassw;
	/** 用户密保问题答案 */
	private String userda;
	/** 用户登录时间 */
	private Date userlogintime;
	/** 用户到期时间 */
	private Date userovertime;
	/** 用户充值卡密 */
	private Integer userkm;
	/** 用户在线状态1在线2离线 */
	private Integer usertype;
	/** 用户软件归属 */
	private Integer userinfoid;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUsername(String username) 
	{
		this.username = username;
	}

	public String getUsername() 
	{
		return username;
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}

	public String getPassword() 
	{
		return password;
	}
	public void setUseremail(String useremail) 
	{
		this.useremail = useremail;
	}

	public String getUseremail() 
	{
		return useremail;
	}
	public void setUserpassw(String userpassw) 
	{
		this.userpassw = userpassw;
	}

	public String getUserpassw() 
	{
		return userpassw;
	}
	public void setUserda(String userda) 
	{
		this.userda = userda;
	}

	public String getUserda() 
	{
		return userda;
	}
	public void setUserlogintime(Date userlogintime) 
	{
		this.userlogintime = userlogintime;
	}

	public Date getUserlogintime() 
	{
		return userlogintime;
	}
	public void setUserovertime(Date userovertime) 
	{
		this.userovertime = userovertime;
	}

	public Date getUserovertime() 
	{
		return userovertime;
	}
	public void setUserkm(Integer userkm) 
	{
		this.userkm = userkm;
	}

	public Integer getUserkm() 
	{
		return userkm;
	}
	public void setUsertype(Integer usertype) 
	{
		this.usertype = usertype;
	}

	public Integer getUsertype() 
	{
		return usertype;
	}
	public void setUserinfoid(Integer userinfoid) 
	{
		this.userinfoid = userinfoid;
	}

	public Integer getUserinfoid() 
	{
		return userinfoid;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("password", getPassword())
            .append("useremail", getUseremail())
            .append("userpassw", getUserpassw())
            .append("userda", getUserda())
            .append("userlogintime", getUserlogintime())
            .append("userovertime", getUserovertime())
            .append("userkm", getUserkm())
            .append("usertype", getUsertype())
            .append("userinfoid", getUserinfoid())
            .toString();
    }
}
